package bigbrother.service;

import bigbrother.entity.Employee;

public interface IEmployeeService {
	/**
	 * Employee 객체를 전달받아서 DB에 저장
	 *  - EmployeeDao의 addEmployee
	 *  - WordLogDao의 addWorkLog에 고용이라고 저장
	 * @param emp 저장될 employee 객체
	 */
	void hireEmployee(Employee emp);
	/**
	 * 해고할 employee의 id
	 *  - WorkLogDao의 deleteWorkLog
	 *  - EmployeeDao의 deleteEmpoyee 호출
	 * @param id
	 */
	void fierEmployee(String id);
	boolean canUseId(String id);
}
